/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2023-01-16
 * Time: 15:27
 */
public class Test {
    public static void main(String[] args){
        Object o=new Object(){
            public boolean equals(Object obj){
                return true;
            }
        };
        System.out.println(o.equals("Fred"));
    }

}
